package blocos;

import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.JOptionPane;

public class BlockDayGUI extends BlockGUI{
	private String  imgPath = "sol.jpg";
	
	public void paintComponent(Graphics g){
		
		super.paintComponent(g);
;
	}
	
	public BlockDayGUI(){

		super(); 
		
       	try {
       		imgBig = ImageIO.read(new File(defaultImagePathBig + imgPath));
       		imgMedium = ImageIO.read(new File(defaultImagePathMedium + imgPath));
       		imgSmall= ImageIO.read(new File(defaultImagePathSmall + imgPath));
	     }
	    catch(IOException e)
	    {
	    	JOptionPane.showMessageDialog(null, "Imagem nao encontrada", "Erro", JOptionPane.ERROR_MESSAGE);
	    }
		block = new BlockDay();
	}

	@Override
	public String[] save() {
		// TODO Auto-generated method stub
		return null;
	}
}
